package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 签到日志对象 sys_sign_log
 * 
 * @author hlw
 * @date 2021-04-05
 */
public class SysSignLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 签到信息主键 */
    private Long signId;

    /** 操作类型(0签到) */
    @Excel(name = "操作类型(0签到)")
    private Long businessType;

    /** 签到人id */
    private Long signUserId;

    /** 签到人姓名 */
    @Excel(name = "签到人姓名")
    private String signUserName;

    /** 签到地ip */
    @Excel(name = "签到地ip")
    private String signIp;

    /** 签到点 */
    @Excel(name = "签到点")
    private String signLocation;

    /** 签到时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "签到时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date signTime;

    public void setSignId(Long signId) 
    {
        this.signId = signId;
    }

    public Long getSignId() 
    {
        return signId;
    }
    public void setBusinessType(Long businessType) 
    {
        this.businessType = businessType;
    }

    public Long getBusinessType() 
    {
        return businessType;
    }
    public void setSignUserId(Long signUserId) 
    {
        this.signUserId = signUserId;
    }

    public Long getSignUserId() 
    {
        return signUserId;
    }
    public void setSignUserName(String signUserName) 
    {
        this.signUserName = signUserName;
    }

    public String getSignUserName() 
    {
        return signUserName;
    }
    public void setSignIp(String signIp) 
    {
        this.signIp = signIp;
    }

    public String getSignIp() 
    {
        return signIp;
    }
    public void setSignLocation(String signLocation) 
    {
        this.signLocation = signLocation;
    }

    public String getSignLocation() 
    {
        return signLocation;
    }
    public void setSignTime(Date signTime) 
    {
        this.signTime = signTime;
    }

    public Date getSignTime() 
    {
        return signTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("signId", getSignId())
            .append("businessType", getBusinessType())
            .append("signUserId", getSignUserId())
            .append("signUserName", getSignUserName())
            .append("signIp", getSignIp())
            .append("signLocation", getSignLocation())
            .append("signTime", getSignTime())
            .toString();
    }
}
